package com.yiyuzi.admin.role.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yiyuzi.admin.common.domain.PageResultDTO;
import com.yiyuzi.admin.common.domain.ResponseDTO;
import com.yiyuzi.admin.role.domain.dto.RoleAddDTO;
import com.yiyuzi.admin.role.domain.dto.RoleDTO;
import com.yiyuzi.admin.role.domain.dto.RoleQueryDTO;
import com.yiyuzi.admin.role.domain.entity.RoleEntity;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

/**
 * @author yiyuzi
 * @date 2021/5/7 11:18
 */

public interface RoleService extends IService<RoleEntity> {
    PageResultDTO<RoleDTO> findPage(RoleQueryDTO roleDTO);

    boolean deleteById(Long id);

    boolean deleteList(List<Long> list);

    boolean export() throws IOException;
}
